<template>
    <div class="white-box">
        <h3 class="xq-h3">{{ objs.title }}</h3>
        <p class="xq-time">{{ objs.create_time }}</p>
        <div class="xq-content" v-html="objs.content"></div>
    </div>
    <go-back></go-back>
</template>

<script setup>
import { ref, onMounted } from "vue"
import GoBack from "@components/GoBack.vue"

const objs = ref({})

onMounted(() => {
   let news = sessionStorage.getItem('news') ? JSON.parse(sessionStorage.getItem('news')) : ''
   objs.value = news
})

</script>

<style lang="less" scoped></style>
